package com.LC.Service;

import com.LC.Entity.PageResult;
import com.LC.Entity.QueryPageBean;
import com.LC.Entity.Role;

import java.util.List;

public interface RoleService {
    public PageResult findPage(QueryPageBean queryPageBean);
    public void addRole(Integer[] permissionIds, Role addRole);
    public Role getRoleById(int id);
    public List<Integer> getPermissionIdsByRoleId(int id);
    public void upDateRole(Integer[] permissionIds,Role upDateRole);
    public void deleteRole(int id);
}
